package com.platform.service.impl;

import com.platform.dao.FootprintDao;
import com.platform.entity.FootprintEntity;
import com.platform.service.FootprintService;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("footprintService")
public class FootprintServiceImpl implements FootprintService {

  @Autowired
  private FootprintDao footprintDao;

  @Override
  public FootprintEntity queryObject(Integer id) {
    return footprintDao.queryObject(id);
  }

  @Override
  public List<FootprintEntity> queryList(Map<String, Object> map) {
    return footprintDao.queryList(map);
  }

  @Override
  public int queryTotal(Map<String, Object> map) {
    return footprintDao.queryTotal(map);
  }

  @Override
  public void save(FootprintEntity footprint) {
    footprintDao.save(footprint);
  }

  @Override
  public void update(FootprintEntity footprint) {
    footprintDao.update(footprint);
  }

  @Override
  public void delete(Integer id) {
    footprintDao.delete(id);
  }

  @Override
  public void deleteBatch(Integer[] ids) {
    footprintDao.deleteBatch(ids);
  }

}
